import React, { Component } from 'react'

export default class Footer extends Component {
  render() {
    console.log(this.props);
    
    return (
      <div>
        <button onClick={()=>{
          this.props.changeProson1(true,10)
        }}>支持</button>
        <button onClick={()=>{
          this.props.changeProson1(false,1)
        }}>反对</button>
      </div>
    )
  }
}
